package com.dragon.modules.yuegou.model.product;

import com.dragon.modules.yuegou.entity.product.HelpMemberJoininEntity;
import com.fasterxml.jackson.annotation.JsonView;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 会员助力活动参与信息表模型类
 * 
 * @author px
 * @date 2019-04-12 09:11:43
 * @company sgy
 * @version 2.0
 * @see Length 长度限制
 * @see NotNull 对象非空
 * @see NotEmpty 字符串、集合、表、数组非空
 */
public class HelpMemberJoinin extends HelpMemberJoininEntity {

	@ApiModelProperty("助力人")
	private String memberNickName;

	@ApiModelProperty("助力人手机")
	private String memberMobile;

	@ApiModelProperty("助力人头像")
	private String memberHeadImg;

	@ApiModelProperty("助力百分比")
	private BigDecimal helpValue;

	private String maskNickName;

	public String getMaskNickName() {
		return maskNickName;
	}

	public void setMaskNickName(String maskNickName) {
		this.maskNickName = maskNickName;
	}
	
	public String getMemberNickName() {
		return memberNickName;
	}

	public void setMemberNickName(String memberNickName) {
		this.memberNickName = memberNickName;
	}

	public String getMemberMobile() {
		return memberMobile;
	}

	public void setMemberMobile(String memberMobile) {
		this.memberMobile = memberMobile;
	}

	public String getMemberHeadImg() {
		return memberHeadImg;
	}

	public void setMemberHeadImg(String memberHeadImg) {
		this.memberHeadImg = memberHeadImg;
	}

	public BigDecimal getHelpValue() {
		return helpValue;
	}

	public void setHelpValue(BigDecimal helpValue) {
		this.helpValue = helpValue;
	}

	/**
	 * 构造一个空会员助力活动参与信息表模型对象
	 */
	public HelpMemberJoinin(){
		super();
	}
	
	/**
	 * 依据实体对象的信息构造一个会员助力活动参与信息表模型对象
	 * 
	 * @param entity 实体对象
	 */
	public HelpMemberJoinin(HelpMemberJoininEntity entity){
		super(entity);
	}

	/**
	 * 依据其它对象的信息构造一个会员助力活动参与信息表模型对象
	 * 
	 * @param other 其它对象
	 */
	public HelpMemberJoinin(HelpMemberJoinin other){
		super(other);
	}


	@Override
	public String getId() {
    	return id;
    }

    /**
	 * 设置
	 * 
	 * @param id 
	 * @return 当前对象
	 */
    public HelpMemberJoinin id(String id) {
    	this.id = id;
    	return this;
    }

	@Override
	public String getBusdId() {
    	return busdId;
    }

    /**
	 * 设置当前参加人数
	 * 
	 * @param busdId 当前参加人数
	 * @return 当前对象
	 */
    public HelpMemberJoinin busdId(String busdId) {
    	this.busdId = busdId;
    	return this;
    }

	@Override
	public String getHelpId() {
    	return helpId;
    }

    /**
	 * 设置助力活动ID
	 * 
	 * @param helpId 助力活动ID
	 * @return 当前对象
	 */
    public HelpMemberJoinin helpId(String helpId) {
    	this.helpId = helpId;
    	return this;
    }

	@Override
	public String getSkuId() {
    	return skuId;
    }

    /**
	 * 设置商品ID
	 * 
	 * @param skuId 商品ID
	 * @return 当前对象
	 */
    public HelpMemberJoinin skuId(String skuId) {
    	this.skuId = skuId;
    	return this;
    }

	@Override
	public String getMemberId() {
    	return memberId;
    }

    /**
	 * 设置参与助力活动的会员ID
	 * 
	 * @param memberId 参与助力活动的会员ID
	 * @return 当前对象
	 */
    public HelpMemberJoinin memberId(String memberId) {
    	this.memberId = memberId;
    	return this;
    }

	@Override
	public String getCreateHelpMemberId() {
    	return createHelpMemberId;
    }

    /**
	 * 设置发起助力活动的会员ID
	 * 
	 * @param createHelpMemberId 发起助力活动的会员ID
	 * @return 当前对象
	 */
    public HelpMemberJoinin createHelpMemberId(String createHelpMemberId) {
    	this.createHelpMemberId = createHelpMemberId;
    	return this;
    }

	@Override
	public String getHelpMemberRefId() {
    	return helpMemberRefId;
    }

    /**
	 * 设置会员参与的活动ID
	 * 
	 * @param helpMemberRefId 会员参与的活动ID
	 * @return 当前对象
	 */
    public HelpMemberJoinin helpMemberRefId(String helpMemberRefId) {
    	this.helpMemberRefId = helpMemberRefId;
    	return this;
    }

	@Override
	public BigDecimal getHelpMaxValue() {
    	return helpMaxValue;
    }

    /**
	 * 设置助力最大值
	 * 
	 * @param helpMaxValue 助力最大值
	 * @return 当前对象
	 */
    public HelpMemberJoinin helpMaxValue(BigDecimal helpMaxValue) {
    	this.helpMaxValue = helpMaxValue;
    	return this;
    }

	@Override
	public BigDecimal getHelpNowValue() {
    	return helpNowValue;
    }

    /**
	 * 设置助力当前值
	 * 
	 * @param helpNowValue 助力当前值
	 * @return 当前对象
	 */
    public HelpMemberJoinin helpNowValue(BigDecimal helpNowValue) {
    	this.helpNowValue = helpNowValue;
    	return this;
    }

	@Override
	public LocalDateTime getCreatedTime() {
    	return createdTime;
    }

    /**
	 * 设置助力时间
	 * 
	 * @param createdTime 助力时间
	 * @return 当前对象
	 */
    public HelpMemberJoinin createdTime(LocalDateTime createdTime) {
    	this.createdTime = createdTime;
    	return this;
    }
}
